package org.csu.mybigpro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.mybigpro.domain.Exam;

import java.io.ByteArrayInputStream;

public interface IExamService extends IService<Exam> {

    Exam generateExam(String description) throws Exception;

    Exam publishExam(Long examId, int durationInMinutes);

    ByteArrayInputStream exportExamToWord(Exam exam) throws Exception;
}